#include "mainwindow.h"
#include "./ui_mainwindow.h"
#include "ordercard.h"
#include "widget.h"

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);

    OrderCard *card = new OrderCard(this);
    card->resize(1000,1000);
    card->move(this->width()*0.33,this->width()*0.33);
    card->show();
}

MainWindow::~MainWindow()
{
    delete ui;
}

